use crate::component::request::Request;
use ureq;

pub struct Response<ItemType: Clone> {
    pub req: Request<ItemType>,
    pub resp: ureq::Response,
}

impl<ItemType: Clone> Response<ItemType> {
    pub fn new(req: Request<ItemType>, resp: ureq::Response) -> Self {
        Self { req, resp }
    }
}
